
package cn.iocoder.yudao.module.signature.appconnect.model;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyDescription;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;

import java.util.Objects;

/**
 * Self-links to documents that can contain information for one or more
 * resources.
 *
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({ "self" })
public class DocumentLinks {

	@JsonProperty("self")
	@JsonPropertyDescription("")
	private String self;

	@JsonProperty("see")
	@JsonPropertyDescription("")
	private String see;

	public String getSelf() {
		return self;
	}

	public void setSelf(String self) {
		this.self = self;
	}

	public String getSee() {
		return see;
	}

	public void setSee(String see) {
		this.see = see;
	}

	@Override
	public boolean equals(Object o) {
		if (this == o) return true;
		if (o == null || getClass() != o.getClass()) return false;
		DocumentLinks that = (DocumentLinks) o;
		return Objects.equals(self, that.self) && Objects.equals(see, that.see);
	}

	@Override
	public int hashCode() {
		return Objects.hash(self, see);
	}

	@Override
	public String toString() {
		return "DocumentLinks{" +
				"self='" + self + '\'' +
				", see='" + see + '\'' +
				'}';
	}
}
